/**
 * Copyright (C) 2008 Christopher Allen Ogden
 *
 *     This file is part of Odysi.
 *
 *  Odysi is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  Odysi is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with Odysi.  If not, see <http://www.gnu.org/licenses/>.
 */

#pragma once

class Location
{
    public:
        Location():_x(0),_y(0),_z(0),_xOff(0),_yOff(0) {}
        Location(int x, int y):_x(x),_y(y),_z(0),_xOff(0),_yOff(0) {}
        Location(int x, int y, int z):_x(x),_y(y),_z(z),_xOff(0),_yOff(0) {}
        Location(int x, int y, int z, float xOff, float yOff):_x(x),_y(y),_z(z),_xOff(xOff),_yOff(yOff) {}
        int getX() const { return _x; }
        int getY() const { return _y; }
        int getZ() const { return _z; }
        float getXOff() const { return _xOff; }
        float getYOff() const { return _yOff; }
        void setX(int x) { _x = x; }
        void setY(int y) { _y = y; }
        void setZ(int z) { _z = z; }
        void setXOff(float xOff) { _xOff = xOff; }
        void setYOff(float yOff) { _yOff = yOff; }
    private:
        int _x, _y, _z;
        float _xOff, _yOff;
};
